package com.wgq.entity;

import java.util.Scanner;

//键盘输入 字符串
public class ScannerInput {
    void utilTest(){
        Scanner sc =  new Scanner(System.in);
        System.out.println("请输入:");

        String i = sc.nextLine();
        System.out.println("输出:"+i);

    }
    public static void main(String[] args) {
        ScannerInput u = new ScannerInput();
        u.utilTest();
    }
}
